@echo off
REM This script will add logback jars to your classpath.

set LB_HOME=libs
set LB_VERSION=1.2.3
set API_VERSION=1.7.5

set CLASSPATH=%CLASSPATH%;%LB_HOME%/logback-classic-%LB_VERSION%.jar
set CLASSPATH=%CLASSPATH%;%LB_HOME%/logback-core-%LB_VERSION%.jar
set CLASSPATH=%CLASSPATH%;%LB_HOME%/logback-examples-%LB_VERSION%.jar
set CLASSPATH=%CLASSPATH%;%LB_HOME%/slf4j-api-%API_VERSION%.jar

echo %CLASSPATH%

REM log server listen on 6000
REM java ch.qos.logback.classic.net.SimpleSocketServer 6000 server.xml

REM log server pull event from client:4560
java chapters.receivers.socket.ReceiverExample server.xml